package com.four.order.dao;

import com.four.common.utils.R;
import com.four.order.entity.OrLogistics;
import com.four.order.entity.OrShopExpress;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: hxw
 * @Date: 2022/1/17 19:37
 */
public interface LogisticsDao {
    /**
     * 根据订单编号查询物流信息
     * @param expressId
     * @return
     */
    List<OrLogistics> getByExpressId(@Param("expressId") String expressId);

    /**
     * 添加物流信息
     * @param logistics
     */
    void saveLogistics(@Param("logistics") OrLogistics logistics);
}
